<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>

<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>招聘详情·数据工厂</title>
<link href="${pageContext.request.contextPath }/img/webLogoIcon.png"
	rel="shortcut icon">
<link href="${pageContext.request.contextPath }/css/bootstrap.min.css"
	rel="stylesheet">
<link href="${pageContext.request.contextPath }/css/font-awesome.css"
	rel="stylesheet">

<link href="${pageContext.request.contextPath }/css/animate.css"
	rel="stylesheet">
<link href="${pageContext.request.contextPath }/css/style.css"
	rel="stylesheet">


<!-- FooTable -->
<link href="${pageContext.request.contextPath }/css/footable.core.css"
	rel="stylesheet">
<link href="${pageContext.request.contextPath }/css/datepicker3.css"
	rel="stylesheet">
<link href="${pageContext.request.contextPath}/css/mypage.css"
	rel="stylesheet">
<style>
.select2_demo_1 {
	float: left;
	width: 120px;
	display: inline;
	margin-left: 10px;
}

.form-control {
	display: inline;
}

.col-sm-3 {
	float: right;
	width: 560px;
}

.input-group {
	float: right;
	width: 240px;
	margin-left: 5px;
}

td {
	vertical-align: middle;
}
</style>

</head>

<body>

	<div id="wrapper">

		<nav class="navbar-default navbar-static-side" role="navigation">
		<%
			request.setAttribute("LEFT", "invite");
		%> <%@include file="../components/left.jsp"%> </nav>

		<div id="page-wrapper" class="gray-bg">
			<div class="row border-bottom m-b-20">
				<jsp:include page="../components/head.jsp" flush="true" />
			</div>
			<div class="row wrapper border-bottom white-bg page-heading">
				<div class="col-lg-9">
					<h2>招聘详情</h2>
					<ol class="breadcrumb">
						<li class="nav-main1"><a
							href="${pageContext.request.contextPath}/admin/tosystem_overview">主页</a>
						</li>
						<li class="nav-main2"><a id="navigation1" href="#">招聘数据</a></li>
						<li class="active"><a>招聘详情</a></li>
					</ol>
				</div>
			</div>

			<div class="wrapper wrapper-content animated fadeInRight">
				<div class="row">
					<div class="col-lg-12">
						<div class="ibox float-e-margins">
							<div class="mainSearch">
								<!-- 搜索条件区域 -->
							</div>
							<div class="ibox-content">
								<div class="table-responsive">
									<!-- 主体内容区域start -->

									<div class="mainContentRight">
										<div class="contentBox">
											<!-- 详情内容 start -->
											<div class="conSelect detail">
												<div id="companyTitle">
													<div class="titleList">${invite.invite_title}</div>
												</div>
												<div id="companyFlag">
													<div>
														<a>${invite.company_name}</a><span>${invite.min_salary}-${invite.max_salary}/月</span>
														<!-- <span class="newAdd">新增职位</span> -->
													</div>
													<div>
														<span>深圳-|1-3年|本科| 招5人 |12-09发布 |</span><span>年龄要求18-60</span>
													</div>
												</div>
											</div>

											<div class="conSelect detail">
												<p class="titleList">职位信息</p>
												<div id="duty_info">
													<p>${invite.duty_describe}</p>
												</div>
											</div>
											<div class="conSelect detail">
												<p class="titleList">联系方式</p>
												<div id="address">
													<p>${invite.work_address}</p>
												</div>
											</div>
											<div class="conSelect detail">
												<p class="titleList">公司信息</p>
												<div id="companyInfos">
													<p>${invite.company_intro}</p>
												</div>
											</div>
											<!-- 详情内容 end -->
										</div>
									</div>
									<!-- 主体内容区域end -->
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
			<jsp:include page="../components/footer.jsp" flush="true" />
		</div>
	</div>


	<!-- Mainly scripts -->
	<script src="${pageContext.request.contextPath }/js/jquery-2.1.1.js"></script>
	<script src="${pageContext.request.contextPath }/js/bootstrap.min.js"></script>
	<script
		src="${pageContext.request.contextPath }/js/jquery.metisMenu.js"></script>
	<script
		src="${pageContext.request.contextPath }/js/jquery.slimscroll.min.js"></script>

	<!-- Custom and plugin javascript -->
	<script src="${pageContext.request.contextPath }/js/inspinia.js"></script>
	<script src="${pageContext.request.contextPath }/js/pace.min.js"></script>


	<script
		src="${pageContext.request.contextPath }/js/plugins/toastr/toastr.min.js"></script>

	<!-- Page-Level Scripts -->
	<script>
		$(document).ready(function() {

		});

		function sendData(pagenum) {
			let inviteSource1 = $("#sourceType option:selected").text();
			let searchText1 = $("#searchText").val();
			let searchType1 = $("#searchType option:selected").val();
			$.ajax({
				url : "inviteList",
				type : "get",
				dataType : "json",
				data : {
					inviteSource : inviteSource1,
					searchText : searchText1,
					searchType : searchType1,
					pageNum : pagenum
				},
				success : function(res) {
					console.log("请求成功")
					groupData(res);
				},
				error : function(err) {
					console.log("请求失败")
					console.log(err)
				}
			})
		}
	</script>
</body>

</html>
